package com.wss.module.main.ui.page.flip.helper;

import lombok.Getter;
import lombok.Setter;
import ohos.media.image.PixelMap;

/**
 * Describe：图片切割实体类
 * Created by 吴天强 on 2021/2/8.
 */
//@Getter
//@Setter
public class ImagePiece {
    private int index;
    private PixelMap bitmap;
    private boolean isAnim;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public PixelMap getBitmap() {
        return bitmap;
    }

    public void setBitmap(PixelMap bitmap) {
        this.bitmap = bitmap;
    }

    public boolean isAnim() {
        return isAnim;
    }

    public void setAnim(boolean anim) {
        isAnim = anim;
    }
}
